#ifndef PRODUCTINWAREHOUSESECTIONMODEL_H
#define PRODUCTINWAREHOUSESECTIONMODEL_H

#include "product-section-model.h"

class ProductInWarehouseSectionModel : public ProductSectionModel
{
    Q_OBJECT
public:
    explicit ProductInWarehouseSectionModel(QObject *parent = 0);

    enum ProductInWarehouseSectionColumns
    {
        NameColumn,
        PriceColumn,
        VatColumn,
        QuantityColumn
    };

public slots:
    void setupQueries();
    void loadData();
    void addData(QVariantList dataList);
    void removeData(QVariantList dataList);

private slots:
    void continueLoadData(ModelResult *result);
    void continueRemoveData(ModelResult *result);
};

#endif // PRODUCTINWAREHOUSESECTIONMODEL_H
